package leds.ifes.mobilidadeurbana.piloto;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;

import com.example.mapateste.R;

public class AutenticacaoActivity extends Activity {
	
	Button loginButton;
	Activity mContext;
	
	@Override
	protected void onCreate(Bundle savedInstanceState){
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_autenticacao);
		loginButton = (Button) findViewById(R.id.autenticacao_button_login);
		
		mContext = this;
		
		loginButton.setOnClickListener(new OnClickListener() {
			
			@Override
			public void onClick(View v) {
				Intent intent = new Intent(mContext, MapaActivity.class);
				startActivity(intent);
				
			}
		});
	}
	
	
	

}
